<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" errorPage="/error.jsp" isELIgnored="false" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://www.opensymphony.com/oscache" prefix="cache" %>
<%@ taglib uri="http://atleap.blandware.com/taglib" prefix="atleap" %>
<html:xhtml />

<table cellpadding="0" cellspacing="0" border="0" class="tableView">
	<tr>
		<th>
			<atleap:formatDate value="${requestScope.newsItem.publicationDate}" />&nbsp;&nbsp;<atleap:fieldValue valueMap="${requestScope.newsItem.title}" complexSearch="true" />
		</th>
	</tr>
	<tr>
		<td>
		    <atleap:edit action="/news/callUpdateItem?id=${requestScope.newsItem.id}">
				<p>
					<atleap:fieldValue valueMap="${requestScope.newsItem.annotation}" complexSearch="true" filter="false" />
				</p>
				<p>
					<atleap:fieldValue valueMap="${requestScope.newsItem.body}" complexSearch="true" filter="false" />
				</p>
			</atleap:edit>
		</td>
	</tr>
</table>

<atleap:form action="news/showArchive" validateOnSubmit="false">
	<atleap:submit styleClass="button">
		<atleap:message key="news.buttons.archive" />
	</atleap:submit>
</atleap:form>
